package testsuite_homepage;

import org.openqa.selenium.WebDriver;

public class FalseLoginPage {
	 

	 
	 
	        private final WebDriver driver;
	        public FalseLoginPage(WebDriver driver)
	        {
	                 this.driver = driver;
	               
	                if (!driver.getPageSource().contains("Username and password do not match or you do not have an account")) {
	                    throw new IllegalStateException("False login homepage not appears.");
	                }
	        }

	}




